#include "odom_gps.h"
#include <iostream>


using namespace std;

odom_gps::odom_gps():
time_stamp(0),
gps_latitude(0.0),
gps_longitude(0.0),
gps_high(0.0),
gps_angle(0.0),
gps_x_axes(0.0),
gps_y_axes(0.0)
{
    cout<<"build odom_gps success "<<endl;
}


odom_gps::~odom_gps()
{

    cout<<"destroy odom_gps success\r\n"<<endl;
}

odom_gps::odom_gps(int my_time_stamp,float my_gps_angle,float my_gps_latitude,
    float my_gps_longitude,float my_gps_high,float my_gps_x_axes,float my_gps_y_axes){


    time_stamp= my_time_stamp;
    gps_angle= my_gps_angle;
    gps_latitude=my_gps_latitude;
    gps_longitude=my_gps_longitude;
    gps_high=my_gps_high;
    gps_x_axes=my_gps_x_axes;
    gps_y_axes=my_gps_y_axes;
}

int odom_gps::get_time_stamp(){

    return  time_stamp;
}


float odom_gps::get_angle(){

    return  gps_angle;

}

float odom_gps::get_latitude(){

    return gps_latitude;
}

float odom_gps::get_longitude(){

    return gps_longitude;
}

float odom_gps::get_high(){

    return gps_high;
}

float odom_gps::get_x_axes(){

    return  gps_x_axes;

}

float odom_gps::get_y_axes(){

    return gps_y_axes;
}





